/**
 * 
 */
package org.openzip.jarsfx;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * @author viatkine
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		File destination = new File("/home/viatkine/Temp/test6.jar");
		
		
		List<File> files = new ArrayList<File>();
		
		files.add(new File("/home/viatkine/sam.txt"));
		
		//files.add(new File("/home/viatkine/Temp/"));
		
		files.add(new File("/home/viatkine/Temp/test1.txt"));
		files.add(new File("/home/viatkine/Temp/test/"));
		files.add(new File("/home/viatkine/Temp/test3/"));
		files.add(new File("/home/viatkine/Temp/test4/"));
		
		files.add(new File("/home/viatkine/Temp/test/test2.txt"));
		files.add(new File("/home/viatkine/Temp/test/TestPrazdna"));
		files.add(new File("/home/viatkine/Temp/test2/test22/testbezmezikroku/"));
		
		
		
		
		
		Archiver archiver = new Archiver();
		try {
			archiver.makeArchive(destination, files);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}

}
